package br.com.apresentacao.beackBeans;

import javax.faces.bean.ManagedBean;
import javax.faces.bean.SessionScoped;

import br.com.apresentacao.genericoForm.Formulario;
import br.com.negocio.DAO.ClienteDAO;
import br.teste.Cliente;

@SessionScoped
@ManagedBean(name="clienteForm")
public class ClienteForm extends Formulario<Cliente> {
	
	private ClienteDAO dao = new ClienteDAO(); 
	
	public ClienteForm() {
		super.setDaoPrincipal(dao);
	}
	
	@Override
	public void checaRestricoes() {
		// TODO Auto-generated method stub
		
	}

	@Override
	public void limparTela() {
		setEntidade(new Cliente());
	}

}
